import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {SiteMonitorComponent} from "./site-monitor.component";
import {SiteMonitorAddComponent} from "./site-monitor-add/site-monitor-add.component";
import {SiteMonitorUpdateaComponent} from "./site-monitor-updatea/site-monitor-updatea.component";
import {SiteDevicePollutantComponent} from "./site-device-pollutant/site-device-pollutant.component";
import {MonitorAssignSiteComponent} from "./monitor-assign-site/monitor-assign-site.component";

const routes: Routes = [
  {
    path: "",
    component: SiteMonitorComponent
  },
  {
    path :"add",
    component :SiteMonitorAddComponent
  },
  {
    path :"update",
    component :SiteMonitorUpdateaComponent
  },
  {
    path :"pollutant",
    component :SiteDevicePollutantComponent
  },
  {
    path :"assign-site",
    component :MonitorAssignSiteComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class SiteMonitorRoutingModule { }
